
function MessagePlayer(playerID)
{
        var where="sendmessage.php?<?=$ssname?>=<?=$ssid?>&to="+playerID;
        var height=400;
        var width=600;
        var left=(screen.availWidth/2)-(width/2);
        var top=(screen.availHeight/2)-(height/2)-100;
        window.open(where,"","height="+height+",width="+width+",left="+left+",top="+top);
}

function HideMessage(messageID)
{ 
    document.messageHideForm.messageID.value=messageID;
    document.messageHideForm.submit();
}

function reload() {

		window.location.replace(window.location.href);

	}
